//
//  ViewController1.m
//  IOS深入传值
//
//  Created by 江湖 on 2020/6/10.
//  Copyright © 2020 江湖. All rights reserved.
//

#import "ViewController1.h"
#import "ViewController2.h"
#import "UIViewController+Agent.h"

@interface ViewController1 ()

@end

@implementation ViewController1

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

- (IBAction)goClick:(UIButton *)sender {
    ViewController2 *vc = [[ViewController2 alloc] init];
    vc.delegateVC = self.delegateVC;
    vc.viewBlock = self.viewBlock;
    [self.navigationController pushViewController:vc animated:YES];
}



@end
